#include "ControlBase.h"
#include "Control2DBase.h"

void ControlBase::SetSchematic(Schematic *value)
{
	wxMutexLocker lock(*Control2DBase::GetSchematicMutex());
	_schematic = value;
	Renderer->SetSchematic(value);
	Reset();
}